package linuxbox.common;

public class BoxConfigEntry
{
	protected int m_iID = 0;         
	protected String m_sModule = "";
	protected String m_sCategory = "";
	protected String m_sName = "";
	protected String m_sValue = "";

	public void copyFrom(BoxConfigEntry entry) 
	{
		m_iID = entry.getID();
	  m_sModule = entry.getModule();
	  m_sCategory = entry.getCategory();
		m_sName = entry.getName();
	  m_sValue = entry.getValue();
	}

	public int getID() 
	{
		return m_iID;
	}

	public void setID(int id) 
	{
		m_iID = id;
	}

	public String getModule() 
	{
		return m_sModule;
	}
	
	public void setModule(String str) 
  {
		m_sModule = str;
	}

	public String getCategory() 
	{
		return m_sCategory;
	}
	
	public void setCategory(String str) 
  {
		m_sCategory = str;
	}

	public String getName() 
	{
		return m_sName;
	}
	
	public void setName(String str) 
	{
		m_sName = str;
	}
  
	public String getValue() 
	{
		return m_sValue;
	}
	
	public void setValue(String str) 
  {
		m_sValue = str;
	}

  public String toString()
  {
    String s = "id=" + m_iID
                + ", m_sModule=" + m_sModule
                + ", m_sCategory=" + m_sCategory
                + ", m_sName=" + m_sName
                + ", m_sValue=" + m_sValue
                + "\n";
    return s;
  }
}

